import Vue from "vue";
import VueRouter from "vue-router";

//引入组件 
import screenPage from '@/views/screenPage'

Vue.use(VueRouter)
const routes = [
    {
        path:'/',
        redirect:'/screen'
    },
    {
        path:'/screen',
        name:'screenPage',
        component: screenPage
    }
]

const router = new VueRouter({
    routes
})

export default router